package com.bdqn.Test;

import com.bdqn.SJ3CGLIB.IntermediaryJdkProxyFactory;
import com.bdqn.Sj3JDK.Buyer;
import com.bdqn.Sj3JDK.RealBuyer;
import org.apache.log4j.Logger;

public class Sj3CGLIB {
    private static Logger logger=Logger.getLogger(Sj3CGLIB.class);
    public static void main(String[] args) {
        RealBuyer buyer= IntermediaryJdkProxyFactory.create(RealBuyer.class);
        String result=buyer.havealook();
        logger.debug(result);
    }
}
